package org.jeecg.modules.amazon.amazon.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 亚马逊采集任务表
 * @Author: jeecg-boot
 * @Date:   2025-11-08
 * @Version: V1.0
 */
@Data
@TableName("amazon_task")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="亚马逊采集任务表")
public class AmazonTask implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private java.lang.String id;
    /**创建人*/
    @Schema(description = "创建人")
    private java.lang.String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private java.util.Date createTime;
    /**更新人*/
    @Schema(description = "更新人")
    private java.lang.String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private java.util.Date updateTime;
    /**所属部门*/
    @Schema(description = "所属部门")
    private java.lang.String sysOrgCode;
    /**任务名称*/
    @Excel(name = "任务名称", width = 15)
    @Schema(description = "任务名称")
    private java.lang.String taskName;
    /**任务类型*/
    @Excel(name = "任务类型", width = 15, dicCode = "amazon_type")
    @Dict(dicCode = "amazon_type")
    @Schema(description = "任务类型")
    private java.lang.String taskType;
    /**采集站点*/
    @Excel(name = "采集站点", width = 15, dictTable = "amazon_task_site", dicText = "name", dicCode = "code")
    @Dict(dictTable = "amazon_task_site", dicText = "name", dicCode = "code")
    @Schema(description = "采集站点")
    private java.lang.String taskSite;
    /**采集页数*/
    @Excel(name = "采集页数", width = 15)
    @Schema(description = "采集页数")
    private java.lang.String taskPage;
    /**排序*/
    @Excel(name = "排序", width = 15, dicCode = "amazon_task_sort")
    @Dict(dicCode = "amazon_task_sort")
    @Schema(description = "排序")
    private java.lang.String taskSort;
    /**采集维度*/
    @Excel(name = "采集维度", width = 15, dicCode = "amazon_task_dim")
    @Dict(dicCode = "amazon_task_dim")
    @Schema(description = "采集维度")
    private java.lang.String taskDim;
    /**是否采集文本*/
    @Excel(name = "是否采集文本", width = 15, dicCode = "amazon_task_jurdge")
    @Dict(dicCode = "amazon_task_jurdge")
    @Schema(description = "是否采集文本")
    private java.lang.String taskJurdge;
    /**采集文本*/
    @Excel(name = "采集文本", width = 15)
    @Schema(description = "采集文本")
    private java.lang.String taskCon;
    /**采集状态*/
    @Excel(name = "采集状态", width = 15, dicCode = "amazon_task_status")
    @Dict(dicCode = "amazon_task_status")
    @Schema(description = "采集状态")
    private java.lang.String taskStatus;

    /**用户id*/
    @Schema(description = "用户id")
    private String taskUserId;
    /**租户id*/
    @Schema(description = "租户id")
    private String taskGsId;
    /**
     * 任务id
     */
    @TableField(exist = false)
    @Schema(description = "任务id")
    private String taskId;
}
